package com.net.wanjian.networkhospitalmanager.bean;

import java.io.Serializable;

/**
 * Description:
 * Created by lidongcai on 17/5/9.
 * Email:  lidongcaiocc@163.com
 */

public class UserInfoReturn extends BaseResult{

    /**
     * result : 1
     * data : {"token":"","userInfo":{"UserInfoID":"","UserInfoTrueName":"","UserInfoCode":"","UserInfoGender":"","MajorTeacher":"","UserInfoPhone":"","UserInfoEmail":""}}
     */

    private String result;
    private DataBean data;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * token :
         * userInfo : {"UserInfoID":"","UserInfoTrueName":"","UserInfoCode":"","UserInfoGender":"","MajorTeacher":"","UserInfoPhone":"","UserInfoEmail":""}
         */

        private String token;
        private UserInfoBean userInfo;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public UserInfoBean getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserInfoBean userInfo) {
            this.userInfo = userInfo;
        }

        public static class UserInfoBean implements Serializable{
            /**
             * UserInfoID :
             * UserInfoTrueName :
             * UserInfoCode :
             * UserInfoGender :
             * MajorTeacher :
             * UserInfoPhone :
             * UserInfoEmail :
             */

            private String UserInfoID;
            private String UserInfoTrueName;
            private String UserInfoCode;//学号
            private String UserInfoGender;// 性别（1-男性，2-女性）
            private String MajorTeacher;//专业导师
            private String UserInfoPhone;
            private String UserInfoEmail;

            public String getUserInfoID() {
                return UserInfoID;
            }

            public void setUserInfoID(String UserInfoID) {
                this.UserInfoID = UserInfoID;
            }

            public String getUserInfoTrueName() {
                return UserInfoTrueName;
            }

            public void setUserInfoTrueName(String UserInfoTrueName) {
                this.UserInfoTrueName = UserInfoTrueName;
            }

            public String getUserInfoCode() {
                return UserInfoCode;
            }

            public void setUserInfoCode(String UserInfoCode) {
                this.UserInfoCode = UserInfoCode;
            }

            public String getUserInfoGender() {
                return UserInfoGender;
            }

            public void setUserInfoGender(String UserInfoGender) {
                this.UserInfoGender = UserInfoGender;
            }

            public String getMajorTeacher() {
                return MajorTeacher;
            }

            public void setMajorTeacher(String MajorTeacher) {
                this.MajorTeacher = MajorTeacher;
            }

            public String getUserInfoPhone() {
                return UserInfoPhone;
            }

            public void setUserInfoPhone(String UserInfoPhone) {
                this.UserInfoPhone = UserInfoPhone;
            }

            public String getUserInfoEmail() {
                return UserInfoEmail;
            }

            public void setUserInfoEmail(String UserInfoEmail) {
                this.UserInfoEmail = UserInfoEmail;
            }

            @Override
            public String toString() {
                return "UserInfoBean{" +
                        "UserInfoID='" + UserInfoID + '\'' +
                        ", UserInfoTrueName='" + UserInfoTrueName + '\'' +
                        ", UserInfoCode='" + UserInfoCode + '\'' +
                        ", UserInfoGender='" + UserInfoGender + '\'' +
                        ", MajorTeacher='" + MajorTeacher + '\'' +
                        ", UserInfoPhone='" + UserInfoPhone + '\'' +
                        ", UserInfoEmail='" + UserInfoEmail + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "token='" + token + '\'' +
                    ", userInfo=" + userInfo +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "UserInfoReturn{" +
                "result='" + result + '\'' +
                ", data=" + data +
                '}';
    }
}
